<?php
    /**
     * Created by PhpStorm.
     * User: lance
     * Date: 2017/11/1
     * Time: 16:38
     */

    namespace app\log\admin;


    use app\admin\controller\Admin;
    use think\Request;

    class Common extends Admin
    {
        protected $i_uid;
        protected $i_role;

        public function __construct(Request $request = NULL) {
            parent::__construct($request);
            $this->i_uid = session('user_auth.uid');
            $this->i_role = session('user_auth.role');
        }
    }